home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
wildcat
/
ritwc4.zip
/
RITPT1.EXE
/
RITUAL.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1996-01-07
|
21KB
|
1,275 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 20648 bytes 03/09/122 08:28:04am
'! Code Segment Size :11691 bytes
'! Data Segment Size :5324 bytes
'! String Segment Size:8957 bytes
'! Compiled with WCC version ? 019C017B
Type Type29
s0 As String*40
l40 As Long
End Type
Type Type28
s0 As String*15
s15 As String*15
s30 As String*15
s45 As String*15
s60 As String*15
s75 As String*15
s90 As String*15
s105 As String*15
s120 As String*15
s135 As String*15
s150 As String*15
s165 As String*15
End Type
Type Type27
s0 As String*15
s15 As String*15
s30 As String*15
s45 As String*15
s60 As String*15
s75 As String*15
s90 As String*15
s105 As String*15
s120 As String*15
s135 As String*15
s150 As String*15
s165 As String*15
End Type
Type Type26
s0 As String*15
s15 As String*15
Filler30(1 To 8) As Byte
s38 As String*2
s40 As String*15
s55 As String*7
s62 As String*7
Filler69(1 To 6) As Byte
s75 As String*1
s76 As String*3
s79 As String*3
Filler82(1 To 36) As Byte
s118 As String*15
Filler133(1 To 3) As Byte
s136 As String*3
Filler139(1 To 3) As Byte
s142 As String*4
s146 As String*4
End Type
Declare Sub Sub3709
Declare Sub Sub3863
Declare Sub Sub4122
Declare Sub Sub4269
Declare Sub Sub4355
Declare Sub Sub4851
Declare Sub Sub4926
Declare Sub Sub5478
Declare Sub Sub5528
Declare Sub Sub5562
Declare Sub Sub5596
Declare Sub Sub7130
Declare Sub Sub8598
Declare Sub Sub9240
Declare Sub Sub9887
Declare Sub Sub10434
Declare Sub Sub10891
Declare Sub Sub11398
Dim s4463 As String
Dim s4467 As String
Dim s4471 As String
Dim s4475 As String*1
Dim s4476 As String
Dim i4480 As Integer
Dim i4654 As Integer
Dim t26_4656 As Type26
Dim t28_4828 As Type28
Dim t27_5008 As Type27
Dim i5190 As Integer
Dim i5192 As Integer
Dim i5194 As Integer
Dim s5196 As String*1
Dim s5197 As String
Dim s5201 As String
Dim s5205 As String
Dim i5209 As Integer
Dim s5211 As String
Dim i5215 As Integer
Dim i5217 As Integer
Dim i5219 As Integer
Dim i5221 As Integer
Dim i5223 As Integer
Dim i5225 As Integer
Dim i5227 As Integer
Dim i5229 As Integer
Dim s5231 As String
Dim t5235 As Time
Dim s5239 As String
Dim t29_5243 As Type29
Dim d5287 As Date
Dim s5289 As String
Dim s5293 As String
Dim s5297 As String
Dim s5301 As String
Dim s5305 As String
Dim s5309 As String*15
s5297 = "WCNODEID"
s5301 = Environ(s5297)
s4475 = "Y"
CurrentDate d5287
s5289 = FormatDate(d5287, "mm/dd/yy")
s5293 = FormatDate(d5287, "yy/mm/dd")
s5197 = " @07@─────@08@══════════@07@──────"
i4654 = FreeFile
s4471 = ProgPath + "ritual.cfg"
Open s4471 For Input As i4654
Input #i4654, s4463
Input #i4654, s4467
Input #i4654, s4476
Close i4654
If s4475 = "N" Then
s4476 = "UNREGISTERED COPY"
End If
226 Sub10891
If Exists(ProgPath + "ritmaint.dat") Then
i4654 = FreeFile
Open ProgPath + "ritmaint.dat" For Input As i4654
Input #i4654, s5305
Close i4654
s5305 = UCase(s5305)
If s5305 <> s5289 Then
Del ProgPath + "ritplay.dat"
Del ProgPath + "ritmaint.dat"
If Exists(ProgPath + "ritdead.txt") Then
CopyFile(ProgPath + "ritdead.txt", ProgPath + "ritprev.txt")
Del ProgPath + "ritdead.txt"
End If
End If
End If
414 If Exists(ProgPath + "ritdead.txt") Then
Else
439 Open ProgPath + "ritdead.txt" For Output As i4654
Print #i4654, "@04@Sacrifices for the day of " + "@0C@" + s5289
Print #i4654, " @07@─────@08@══════════@07@──────"
Close i4654
End If
514 i4654 = FreeFile
Open s4463 + "lachuser.dat" For Random As i4654 Len = 172 '! This value should probably be replaced with a "SizeOf" expression
i4480 = 0
Do
557 i4480 = i4480 + 1
Get i4654, i4480, t26_4656 '! 172 bytes
If InStr(UCase(t26_4656.s0), UCase(Pad(User.Name, 15))) Then
GoTo 647
End If
631 Loop While Not EOF(i4654)
647 Close i4654
Sub11398
If Exists(s4463 + "armour.dat") Then
Open s4463 + "armour.dat" For Random As i4654 Len = 180 '! This value should probably be replaced with a "SizeOf" expression
Get i4654, -1, t28_4828 '! 180 bytes
Close i4654
Else
740 Cls
Sub5528
Locate 5, 12
Print "@BELL@@84@ERROR!! ERROR!! @04@ARMOUR.DAT FILE NOT FOUND!!!!!!"
Locate 7, 12
Print "@04@Please Notify the SysOp of this Error IMMEDIATELY!!"
Sub4269
Sub5478
End If
793 If Exists(s4463 + "weapon.dat") Then
Open s4463 + "weapon.dat" For Random As i4654 Len = 180 '! This value should probably be replaced with a "SizeOf" expression
Get i4654, -1, t27_5008 '! 180 bytes
Close i4654
Else
872 Cls
Sub5528
Locate 5, 12
Print "@BELL@@84@ERROR!! ERROR!! @04@WEAPON.DAT FILE NOT FOUND!!!!!!"
Locate 7, 12
Print "@04@Please Notify the SysOp of this Error IMMEDIATELY!!"
Sub4269
Sub5478
End If
925 If Exists(ProgPath + "ritplay.dat") Then
i4654 = FreeFile
Open ProgPath + "ritplay.dat" For Input As i4654
Do
980 Input #i4654, s5309
If InStr(UCase(s5309), UCase(t26_4656.s0)) Then
Close i4654
GoTo 1063
End If
1033 Loop While Not EOF(i4654)
Close i4654
End If
1057 GoTo 1121
1063 MorePrompt(0)
Cls
Sub5528
Locate 5, 12
Print "@0D@Sorry....It appears that you have already played today."
Locate 7, 12
Print "@0D@Come back tomorrow - and DON'T FORGET YOUR WEAPONS!!!!!"
Sub4269
Sub5478
1121 i4654 = FreeFile
Open ProgPath + "ritplay.dat" For Append As i4654
Print #i4654, UCase(t26_4656.s0)
Close i4654
i4654 = FreeFile
Open ProgPath + "ritmaint.dat" For Output As i4654
Print #i4654, UCase(s5289)
Close i4654
Cls
MorePrompt(0)
DisplayTextFile(ProgPath + "ritual1.bbs")
Locate 16, 21
Print "@05@Version: @0D@.65 @08@(Beta @07@1@08@/@07@7@08@/@07@96@08@)"
Locate 17, 31
Print "@0D@" + s4476
Locate 18, 31
If s4475 = "Y" Then
Print "@0D@" + MakeWild.BBSName
Else
1354 Print "@0D@UNREGISTERED BBS"
End If
1363 Sub3709
Sub4269
Cls
MorePrompt(0)
Sub5528
Locate 5, 9
Print "@05@You wander into what appears to be an ancient place of worship@08@."
Locate 6, 9
Print "@05@There are many relics and artifacts here@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 7, 9
Print "@05@Some are hanging from the walls@07@.@08@.@07@.@05@and some are on shelves@08@."
Locate 8, 9
Print "@05@The atmosphere is very forboding@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@."
If Exists(ProgPath + "lastded.dat") Then
Open ProgPath + "lastded.dat" For Input As i4654
Input #i4654, s5239
Close i4654
If t26_4656.s15 = s5239 Then
GoTo 1591
End If
1546 Locate 9, 9
Print "@05@You see the corpse of " + "@0D@" + Trim(s5239) + "@05@ in a corner@07@.@08@.@07@.@08@."
Else
1591 Locate 9, 9
Print "@05@You see the decayed remains of a Warrior in a corner@07@.@08@.@07@.@08@.@07@."
End If
1607 Locate 10, 9
Print "@05@You feel as though you are being watched closely@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 11, 9
Print "@05@But that's ridiculous! There's no one here!@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Delay 2
Locate 13, 30
Print "@05@or is there??"
Sub4269
Sub5528
Locate 5, 9
Print "@05@You hear some shuffling sounds from behind a curtain@07@.@08@.@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@You yell in your most fierce growl@07@.@08@.@07@.@08@.@07@.@08@.@07@.@0D@WHO GOES THERE@05@?!?"
Locate 7, 9
Print "@05@There's no response@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 8, 9
Print "@05@Then the room begins to fill with a very eerie @08@Opaque Mist@07@.@08@.@07@.@08@.@07@."
Locate 9, 9
Print "@05@As suddenly as it appears it vanishes@07@.@08@.@07@.@08@.@07@.@08@."
Locate 10, 9
Print "@05@Before you stands a very evil and powerful looking Warlock@08@."
Delay 2
Locate 12, 30
Print "@0D@The Warlock speaks"
Sub4269
Sub5528
Locate 5, 9
Print "@05@I know of many things@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@You are the warrior known as " + "@0D@" + Trim(t26_4656.s15) + "@05@ - are you not??"
Locate 7, 9
Print "@05@It is as I thought@07@.@08@.@07@.@08@.@07@.@08@.@05@You cannot hide your thoughts from me@07@.@08@."
Locate 8, 9
Print "@05@I also know of your intent to kill my master@07@.@08@.@07@.@08@.@07@.@0D@The Lachrymator@05@."
Locate 9, 9
Print "@05@I will not make him aware of your quest of course@07@.@08@.@07@.@08@.@07@."
Locate 10, 9
Print "@05@I shall profit greatly from his demise@08@."
Locate 11, 9
Print "@05@If you can bring yourself to trust me @08@- @05@I can help you@07@.@08@.@07@.@08@.@07@."
Locate 12, 9
Print "@05@But I warn you@07@.@08@.@07@.@08@.@05@my services are not without risk@07@.@08@.@07@.@08@.@07@ ."
Delay 2
Locate 14, 9
Print "@05@Might I interest you in my more than generous offer (@0D@Y@05@/@0D@N@05@)??"
Do
1988 Locate 23, 1
s5196 = InKey(1213417543)
If InStr("YN", UCase(s5196)) Then
GoTo 2044
End If
2038 Loop
2044 If (UCase(s5196) = "N") = 0 Then GoTo 2255
Do
2066 Sub5528
Locate 5, 9
Print "@05@You are a foolish stupid warrior, " + "@0D@" + Trim(t26_4656.s15) + "@05@!!!!"
Locate 6, 9
Print "@05@For your insolence I should by all means take your life@07@.@08@.@07@.@08@.@07@.@08@."
Locate 7, 9
Print "@05@But as we all know@07@.@08@.@07@.@05@The Master won't allow it@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 8, 9
Print "@05@Well@07@.@08@.@07@.@05@not without your permission of course@07@.@08@.@07@.@08@.@07@.@08@."
Locate 9, 9
Print "@05@I'm sure you wouldn't do that@07@.@08@.@07@.@08@.@05@you're too smart for that@07@.@08@.@07@."
Locate 10, 9
Print "@05@So I guess I have to send you back to the world@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 11, 9
Print "@05@I'll get you sooner or later@07@.@08@.@07@.@05@you can count on that Warrior!"
Delay 2
Locate 13, 9
Print "@05@With those words you are teleported back to the realm@07@.@08@.@07@.@08@.@07@."
Sub4269
Sub5478
GoTo 3016
2255 If (UCase(s5196) = "Y") = 0 Then GoTo 3016
Sub5528
Locate 5, 9
Print "@05@Then it shall be@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 6, 9
Print "@05@First you must voluntarily lie upon my sacrificial altar@07@.@08@.@07@."
Locate 7, 9
Print "@0D@" + Trim(t26_4656.s15) + "@05@, are you willing to do this of your own free will?"
Locate 9, 9
Print "@05@(@0D@I@05@)'m willing to make this sacrifice mighty @0D@Warlock!"
Locate 11, 9
Print "@05@(@0D@T@05@)ake a flying leap @0D@Warlock@05@! I'm outa here!"
Do
2385 Locate 23, 1
s5196 = InKey(1213417543)
If InStr("IT", UCase(s5196)) Then
GoTo 2441
End If
2435 Loop
2441 If (UCase(s5196) = "T") = 0 Then GoTo 2475
Loop
GoTo 3016
2475 If UCase(s5196) = "I" Then
Sub5562
Locate 5, 9
Print "@0D@What can it hurt? @05@You think to yourself@07@.@08@.@07@.@08@.@07@."
Locate 6, 9
Print "@05@Nervously you eye the altar@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 7, 9
Print "@05@The carved stone and hardwood makes you a bit uneasy@07@.@08@.@07@."
Locate 8, 9
Print "@05@The heavy scent of death fills the air@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 9, 9
Print "@05@You carefully lie down on the table@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 10, 9
Print "@05@Suddenly @0D@MaGiC ChAiNs @05@bind you to the altar!"
Locate 11, 9
Print "@05@You can't move!! Now what's going to happen to you???"
Sub4269
Sub5562
Locate 5, 9
Print "@0D@The Warlock @05@utters some ancient spells and incantations@07@.@08@.@07@.@08@.@07@."
Locate 6, 9
Print "@05@The room starts to spin@07@.@08@.@07@.@08@.@05@you feel @0D@REALLY SICK@05@!!"
Locate 7, 9
Print "@0D@Now we must wait@07@.@08@.@07@.@08@.@05@mutters @0D@The Warlock@07@.@08@.@07@.@08@.@07@.@08@."
Locate 8, 9
Print "@05@Your fate lies in the hands of your gods now " + "@0D@" + Trim(t26_4656.s15) + "@05@."
Locate 20, 17
Sub4355
Sub4269
Sub5562
Locate 5, 9
Print "@05@The room is suddenly filled by a blinding flash of light@07@.@08@.@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@When the room returns to normal the @0D@MaGiC ChAiNs @05@vanish@07@.@08@.@07@.@08@."
Locate 7, 9
Print "@05@You can now move freely!"
Locate 8, 9
Print "@0D@The Warlock @05@is no longer here @08@-@05@ Where did he go??"
Locate 9, 9
Print "@05@Oh well@07@.@08@.@07@.@05@it's probably for the best anyways@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 10, 9
Print "@0D@The Warlock @05@makes you nervous@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 11, 9
Print "@05@You get up and take stock in yourself@07@.@08@.@07@.@08@.@07@.@08@."
Sub4355
Sub4269
Sub5562
Locate 5, 9
Print "@05@After carefully looking over yourself you notice a change@07@.@08@.@07@.@08@.@07@."
Locate 6, 9
Print "@05@Yes indeed@07@.@08@.@07@.@08@.@05@there has been a change made!"
Locate 8, 9
Print "@0D@Through this experience you have gained the following:"
Locate 10, 21
Print "@01@▐@08@■@07@■@0F@■@07@■@08@■@18@▌@07@»»»»»»»»»»»»»»»»»»»»»»»»»»»»"
Locate 12, 21
Print "@07@««««««««««««««««««««««««««««@18@▐@08@■@07@■@0F@■@07@■@08@■@01@▌"
Sub10434
Locate i5192, i5194
Print "@0D@" + s5211
Sub4269
If (i5215 = 1) = 0 Then GoTo 3016
Else
3016 Sub5562
Sub3863
Locate 4, 9
Print "@05@You shriek in agonizing pain@07@.@08@.@07@.@08@.@07@.@08@."
Locate 5, 9
Print "@05@You begin to vomit all over yourself@07@.@08@.@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@Blood starts to seep from all your pores@07@.@08@.@07@.@08@.@07@."
Locate 7, 9
Print "@05@You feel a great pressure building up inside your head"
Locate 8, 9
Print "@05@Then you EXPLODE! Your body parts are strewn across the room!"
Locate 9, 9
Print "@05@The last thing you remember as you die is@07@.@08@.@07@.@08@.@07@.@08@.@0D@The Warlock@08@."
Locate 10, 9
Print "@05@He's standing over your mangled body@07@.@08@.@07@.@08@.@07@.@08@.@05@Then he hisses"
Locate 11, 9
Print "@05@Your SOUL will make a splendid GIFT to the Lachrymator@07@.@08@.@07@.@05@Warrior!"
Locate 12, 15
Print "@8D@YOU HAVE DIED!!!.......RETURNING TO LACHRYMATOR"
Open ProgPath + "lastded.dat" For Output As i4654
Print #i4654, t26_4656.s15
Close i4654
Sub4269
If s4475 = "N" Then
Sub4926
End If
3257 End
End If
Do
Do
3258 Sub5528
Locate 5, 9
Print "@05@You now have something to tell your grandkids about@07@.@08@.@07@.@08@."
Locate 6, 9
Print "@05@You have survived @0D@T@05@he @0D@R@05@itual @0D@A@05@ltar!!"
Locate 7, 9
Print "@05@For today at least@07@.@08@.@07@.@08@.@07@.@05@there's always another day!"
Locate 8, 9
Print "@05@But you can at least say that you lived@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@.@07@."
Locate 9, 9
Print "@05@Some warriors aren't as lucky@07@.@08@.@07@.@08@.@07@.@08@.@07@.@08@."
Locate 10, 9
Print "@05@Would you care to see those that have perished in this realm?"
Locate 12, 20
Print "@05@(@0D@T@05@)oday's Sacrifices"
Locate 13, 20
Print "@05@(@0D@Y@05@)esterday's Sacrifices"
Locate 14, 20
Print "@05@(@0D@Q@05@)uit back to Lachrymator"
Do
3408 Locate 23, 1
s5196 = InKey(1213417543)
If InStr("TYQ", UCase(s5196)) Then
GoTo 3464
End If
3458 Loop
3464 If (UCase(s5196) = "T") = 0 Then GoTo 3540
If Exists(ProgPath + "ritdead.txt") Then
Cls
DisplayTextFile(ProgPath + "ritdead.txt")
Sub4269
End If
3528 Loop
GoTo 3644
3540 If (UCase(s5196) = "Y") = 0 Then GoTo 3616
If Exists(ProgPath + "ritprev.txt") Then
Cls
DisplayTextFile(ProgPath + "ritprev.txt")
Sub4269
End If
3604 Loop
GoTo 3644
3616 If UCase(s5196) = "Q" Then
Sub5478
End If
3644 End
'! Called 1 time
Sub Sub3709
s5201 = "@0D@" + Trim(t26_4656.s15) + " @05@traveled to @0D@T@05@he @0D@R@05@itual @0D@A@05@ltar@84@!"
s5205 = "@05@Hmmmm....I wonder why " + "@0D@" + Trim(t26_4656.s15) + "@05@ went there?"
Open s4463 + "today.txt" For Append As i4654
Print #i4654, s5201
Print #i4654, s5205
Print #i4654, s5197
Close i4654
End Sub
'! Called 1 time
Sub Sub3863
s5201 = "@0D@" + Trim(t26_4656.s15) + " @05@was sacrificed on @0D@T@05@he @0D@R@05@itual @0D@A@05@ltar@84@!"
s5205 = "@05@We all shall mourn the passing of " + "@0D@" + Trim(t26_4656.s15) + " @05@the Warrior...."
Open s4463 + "today.txt" For Append As i4654
Print #i4654, s5201
Print #i4654, s5205
Print #i4654, s5197
Close i4654
CurrentTime t5235
s5231 = FormatTime(t5235, "hh:mm:ss")
Open ProgPath + "ritdead.txt" For Append As i4654
Print #i4654, "@0C@" + Trim(t26_4656.s15) + "@04@ was sacrificed at " + "@0C@" + s5231
Close i4654
End Sub
'! Called 1 time
Sub Sub4122
s5201 = "@0D@" + Trim(t26_4656.s15) + " @05@managed to make it back alive from @0D@T@05@he @0D@R@05@itual @0D@A@05@ltar@84@!"
s5205 = "@0D@" + Trim(t26_4656.s15) + " @05@has had a RELIGIOUS EXPERIENCE!!!"
Open s4463 + "today.txt" For Append As i4654
Print #i4654, s5201
Print #i4654, s5205
Print #i4654, s5197
Close i4654
End Sub
'! Called 15 times
Sub Sub4269
Locate 22, 27
Print "@0D@Stroke a @0F@KEY, @0D@Warrior!@0A@ "
Do
4294 s5196 = InKey(1213417543)
If UCase(s5196) > "" Then
GoTo 4342
End If
4336 Loop
4342 Locate 22, 1
ClrEOL
End Sub
'! Called 2 times
Sub Sub4355
Dim l65512 As Long
Dim i65516 As Integer
Dim l65518 As Long
Dim i65522 As Integer
Dim l65524 As Long
Dim i65528 As Integer
Dim l65530 As Long
Dim i65534 As Integer
4385 For i5190 = 17 To 27 Step 1
Locate 20, i5190
Print "@0D@░"
Delay 0.1
Next
4485
4506 For i5190 = 28 To 38 Step 1
Locate 20, i5190
Print "@0D@▒"
Delay 0.1
Next
4606
4627 For i5190 = 39 To 49 Step 1
Locate 20, i5190
Print "@0D@▓"
Delay 0.1
Next
4727
4748 For i5190 = 50 To 58 Step 1
Locate 20, i5190
Print "@0D@█"
Delay 0.1
Next
4848
End Sub
'! Called 5 times
Sub Sub4851
i4654 = FreeFile
Open s4463 + "lachuser.dat" For Random As i4654 Len = 172 '! This value should probably be replaced with a "SizeOf" expression
Put i4654, i4480, t26_4656 '! 172 bytes
Close i4654
End Sub
'! Called 2 times
Sub Sub4926
Dim l65512 As Long
Dim i65516 As Integer
Dim l65518 As Long
Dim i65522 As Integer
Dim l65524 As Long
Dim i65528 As Integer
Dim l65530 As Long
Dim i65534 As Integer
Cls
MorePrompt(0)
Locate 8, 17
Print " @84@UNREGISTERED PROGRAM - PLEASE REGISTER"
Locate 9, 17
Print "@0D@┌@05@───────────────────@0D@┬@05@────────────────────@0D@┐"
Locate 11, 17
Print "@0D@└@05@───────────────────@0D@┴@05@────────────────────@0D@┘"
5012 For i5190 = 17 To 27 Step 1
Locate 10, i5190
Print "@0D@░"
Delay 0.1
Next
5112
5133 For i5190 = 28 To 38 Step 1
Locate 10, i5190
Print "@0D@▒"
Delay 0.1
Next
5233
5254 For i5190 = 39 To 49 Step 1
Locate 10, i5190
Print "@0D@▓"
Delay 0.1
Next
5354
5375 For i5190 = 50 To 58 Step 1
Locate 10, i5190
Print "@0D@█"
Delay 0.1
Next
5475
End Sub
'! Called 5 times
Sub Sub5478
Sub4122
Sub4851
If s4475 = "N" Then
Sub4926
End If
5524 End
End Sub
'! Called 9 times
Sub Sub5528
Cls
MorePrompt(0)
DisplayTextFile(ProgPath + "ritual2.bbs")
End Sub
'! Called 5 times
Sub Sub5562
Cls
MorePrompt(0)
DisplayTextFile(ProgPath + "ritual3.bbs")
End Sub
'! Called 1 time
Sub Sub5596
Dim s65521 As String*15
i5215 = 1
i5217 = Val(Trim(t26_4656.s38))
If i5217 = 1 Then
s65521 = t27_5008.s15
End If
5664 If i5217 = 2 Then
s65521 = t27_5008.s30
End If
5695 If i5217 = 3 Then
s65521 = t27_5008.s45
End If
5726 If i5217 = 4 Then
s65521 = t27_5008.s60
End If
5757 If i5217 = 5 Then
s65521 = t27_5008.s75
End If
5788 If i5217 = 6 Then
s65521 = t27_5008.s75
End If
5819 If i5217 = 7 Then
s65521 = t27_5008.s75
End If
5850 If i5217 = 8 Then
s65521 = t27_5008.s75
End If
5881 If i5217 = 9 Then
s65521 = t27_5008.s75
End If
5912 If i5217 = 10 Then
s65521 = t27_5008.s75
End If
5943 If i5217 = 11 Then
s65521 = t27_5008.s90
End If
5974 If i5217 = 12 Then
s65521 = t27_5008.s105
End If
6005 If t26_4656.s40 = "YOUR FISTS " Then
i5225 = 0
End If
6034 If t26_4656.s40 = t27_5008.s0 Then
i5225 = - 10
End If
6067 If t26_4656.s40 = t27_5008.s15 Then
i5225 = - 20
End If
6104 If t26_4656.s40 = t27_5008.s30 Then
i5225 = - 30
End If
6141 If t26_4656.s40 = t27_5008.s45 Then
i5225 = - 40
End If
6178 If t26_4656.s40 = t27_5008.s60 Then
i5225 = - 50
End If
6215 If t26_4656.s40 = t27_5008.s75 Then
i5225 = - 60
End If
6252 If t26_4656.s40 = t27_5008.s90 Then
i5225 = - 70
End If
6289 If t26_4656.s40 = t27_5008.s105 Then
i5225 = - 80
End If
6326 If t26_4656.s40 = t27_5008.s120 Then
i5225 = - 90
End If
6363 If t26_4656.s40 = t27_5008.s135 Then
i5225 = - 110
End If
6400 If t26_4656.s40 = t27_5008.s150 Then
i5225 = - 150
End If
6437 If t26_4656.s40 = t27_5008.s165 Then
i5225 = - 250
End If
6474 If s65521 = "YOUR FISTS " Then
i5221 = 0
End If
6499 If s65521 = t27_5008.s0 Then
i5221 = 10
End If
6526 If s65521 = t27_5008.s15 Then
i5221 = 20
End If
6557 If s65521 = t27_5008.s30 Then
i5221 = 30
End If
6588 If s65521 = t27_5008.s45 Then
i5221 = 40
End If
6619 If s65521 = t27_5008.s60 Then
i5221 = 50
End If
6650 If s65521 = t27_5008.s75 Then
i5221 = 60
End If
6681 If s65521 = t27_5008.s90 Then
i5221 = 70
End If
6712 If s65521 = t27_5008.s105 Then
i5221 = 80
End If
6743 If s65521 = t27_5008.s120 Then
i5221 = 90
End If
6774 If s65521 = t27_5008.s135 Then
i5221 = 110
End If
6805 If s65521 = t27_5008.s150 Then
i5221 = 150
End If
6836 If s65521 = t27_5008.s165 Then
i5221 = 250
End If
6867 s5211 = "New Weapon! You got a " + Trim(s65521) + "!"
i5192 = 11
i5194 = 21
i5229 = Val(Trim(t26_4656.s79))
i5229 = i5229 + i5225 + i5221
t26_4656.s79 = Str(i5229)
t26_4656.s40 = s65521
If Len(t26_4656.s79) > 3 Then
t26_4656.s79 = "999"
End If
7025 If Len(t26_4656.s79) <= 3 Then
t26_4656.s79 = Pad(t26_4656.s79, 3)
End If
7073 If Len(t26_4656.s40) <= 15 Then
t26_4656.s40 = Pad(t26_4656.s40, 15)
End If
7121 Sub4851
End Sub
'! Called 1 time
Sub Sub7130
Dim s65521 As String*15
i5215 = 1
i5217 = Val(Trim(t26_4656.s38))
If i5217 = 1 Then
s65521 = t28_4828.s0
End If
7194 If i5217 = 2 Then
s65521 = t28_4828.s15
End If
7225 If i5217 = 3 Then
s65521 = t28_4828.s30
End If
7256 If i5217 = 4 Then
s65521 = t28_4828.s45
End If
7287 If i5217 = 5 Then
s65521 = t28_4828.s60
End If
7318 If i5217 = 6 Then
s65521 = t28_4828.s75
End If
7349 If i5217 = 7 Then
s65521 = t28_4828.s75
End If
7380 If i5217 = 8 Then
s65521 = t28_4828.s75
End If
7411 If i5217 = 9 Then
s65521 = t28_4828.s75
End If
7442 If i5217 = 10 Then
s65521 = t28_4828.s75
End If
7473 If t26_4656.s118 = "BIRTHDAY SUIT " Then
i5223 = 0
End If
7502 If t26_4656.s118 = t28_4828.s0 Then
i5223 = - 10
End If
7535 If t26_4656.s118 = t28_4828.s15 Then
i5223 = - 20
End If
7572 If t26_4656.s118 = t28_4828.s30 Then
i5223 = - 30
End If
7609 If t26_4656.s118 = t28_4828.s45 Then
i5223 = - 40
End If
7646 If t26_4656.s118 = t28_4828.s60 Then
i5223 = - 50
End If
7683 If t26_4656.s118 = t28_4828.s75 Then
i5223 = - 60
End If
7720 If t26_4656.s118 = t28_4828.s90 Then
i5223 = - 70
End If
7757 If t26_4656.s118 = t28_4828.s105 Then
i5223 = - 80
End If
7794 If t26_4656.s118 = t28_4828.s120 Then
i5223 = - 90
End If
7831 If t26_4656.s118 = t28_4828.s135 Then
i5223 = - 100
End If
7868 If t26_4656.s118 = t28_4828.s150 Then
i5223 = - 110
End If
7905 If t26_4656.s118 = t28_4828.s165 Then
i5223 = - 120
End If
7942 If s65521 = "BIRTHDAY SUIT " Then
i5219 = 0
End If
7967 If s65521 = t28_4828.s0 Then
i5219 = 10
End If
7994 If s65521 = t28_4828.s15 Then
i5219 = 20
End If
8025 If s65521 = t28_4828.s30 Then
i5219 = 30
End If
8056 If s65521 = t28_4828.s45 Then
i5219 = 40
End If
8087 If s65521 = t28_4828.s60 Then
i5219 = 50
End If
8118 If s65521 = t28_4828.s75 Then
i5219 = 60
End If
8149 If s65521 = t28_4828.s90 Then
i5219 = 70
End If
8180 If s65521 = t28_4828.s105 Then
i5219 = 80
End If
8211 If s65521 = t28_4828.s120 Then
i5219 = 90
End If
8242 If s65521 = t28_4828.s135 Then
i5219 = 100
End If
8273 If s65521 = t28_4828.s150 Then
i5219 = 110
End If
8304 If s65521 = t28_4828.s165 Then
i5219 = 120
End If
8335 s5211 = "New Armor! You got the " + Trim(s65521) + "!"
i5192 = 11
i5194 = 20
i5227 = Val(Trim(t26_4656.s76))
i5227 = i5227 + i5223 + i5219
t26_4656.s76 = Str(i5227)
t26_4656.s118 = s65521
If Len(t26_4656.s76) > 3 Then
t26_4656.s76 = "999"
End If
8493 If Len(t26_4656.s76) <= 3 Then
t26_4656.s76 = Pad(t26_4656.s76, 3)
End If
8541 If Len(t26_4656.s118) <= 15 Then
t26_4656.s118 = Pad(t26_4656.s118, 15)
End If
8589 Sub4851
End Sub
'! Called 1 time
Sub Sub8598
Dim i65532 As Integer
Dim i65534 As Integer
i5215 = 1
i5209 = Rnd * 100 Mod 100 + 1
If i5209 >= 0 And i5209 <= 10 Then
i65534 = 1
Else
8676 If i5209 >= 11 And i5209 <= 20 Then
i65534 = 2
Else
8715 If i5209 >= 21 And i5209 <= 30 Then
i65534 = 3
Else
8754 If i5209 >= 31 And i5209 <= 40 Then
i65534 = 4
Else
8793 If i5209 >= 41 And i5209 <= 50 Then
i65534 = 5
Else
8832 If i5209 >= 51 And i5209 <= 60 Then
i65534 = 10
Else
8871 If i5209 >= 61 And i5209 <= 70 Then
i65534 = 15
Else
8910 If i5209 >= 71 And i5209 <= 80 Then
i65534 = 20
Else
8949 If i5209 >= 81 And i5209 <= 90 Then
i65534 = 25
Else
8988 If i5209 >= 91 And i5209 <= 99 Then
i65534 = 30
Else
9027 If i5209 = 100 Then
i65534 = 50
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
9049 s5211 = "An INCREASE of " + Str(i65534) + " Experience!"
i5192 = 11
i5194 = 23
i65532 = Val(Trim(t26_4656.s55))
i65532 = i65532 + i65534
t26_4656.s55 = Str(i65532)
If Len(t26_4656.s55) > 7 Then
t26_4656.s55 = "9999999"
End If
9183 If Len(t26_4656.s55) <= 7 Then
t26_4656.s55 = Pad(t26_4656.s55, 7)
End If
9231 Sub4851
End Sub
'! Called 3 times
Sub Sub9240
Dim i65532 As Integer
Dim i65534 As Integer
i5215 = 1
i5209 = Rnd * 100 Mod 100 + 1
If i5209 >= 0 And i5209 <= 10 Then
i65534 = 500
Else
9319 If i5209 >= 11 And i5209 <= 20 Then
i65534 = 1000
Else
9359 If i5209 >= 21 And i5209 <= 30 Then
i65534 = 1500
Else
9399 If i5209 >= 31 And i5209 <= 40 Then
i65534 = 2000
Else
9439 If i5209 >= 41 And i5209 <= 50 Then
i65534 = 3000
Else
9479 If i5209 >= 51 And i5209 <= 60 Then
i65534 = 4000
Else
9519 If i5209 >= 61 And i5209 <= 70 Then
i65534 = 5000
Else
9559 If i5209 >= 71 And i5209 <= 80 Then
i65534 = 7500
Else
9599 If i5209 >= 81 And i5209 <= 90 Then
i65534 = 10000
Else
9639 If i5209 >= 91 And i5209 <= 99 Then
i65534 = 12500
Else
9679 If i5209 = 100 Then
i65534 = 25000
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
9702 s5211 = "@0D@" + Str(i65534) + "@0D@ GOLD!! You're FILTHY RICH!"
i5192 = 11
i5194 = 22
i65532 = Val(Trim(t26_4656.s62))
i65532 = i65532 + i65534
t26_4656.s62 = Str(i65532)
If Len(t26_4656.s62) > 7 Then
t26_4656.s62 = "9999999"
End If
9836 If Len(t26_4656.s62) <= 7 Then
t26_4656.s62 = Pad(t26_4656.s62, 7)
End If
9884
End Sub
'! Called 2 times
Sub Sub9887
Dim i65534 As Integer
i5215 = 1
i5209 = Rnd * 100 Mod 100 + 1
If i5209 <= 10 Then
GoTo 10024
Else
9954 If i5209 >= 11 And i5209 <= 95 Then
GoTo 10334
Else
9992 If i5209 >= 96 And i5209 <= 100 Then
GoTo 10163
End If
End If
End If
10024 s5211 = "A Sex Change Operation!"
i5192 = 11
i5194 = 21
If UCase(t26_4656.s75) = "M" Then
t26_4656.s75 = "F"
Else
10094 t26_4656.s75 = "M"
End If
10109 If Len(t26_4656.s75) > 1 Then
t26_4656.s75 = Pad(t26_4656.s75, 1)
End If
10157 GoTo 10425
10163 i5215 = 2
s5211 = "DEATH! You have been sacrificed!!"
i5192 = 11
i5194 = 21
i65534 = 0
t26_4656.s142 = Str(i65534)
t26_4656.s136 = "NO "
If Len(t26_4656.s142) <= 4 Then
t26_4656.s142 = Pad(t26_4656.s142, 4)
End If
10280 If Len(t26_4656.s136) <= 3 Then
t26_4656.s136 = Pad(t26_4656.s136, 3)
End If
10328 GoTo 10425
10334 s5211 = "Total Healing!"
i5192 = 11
i5194 = 29
t26_4656.s142 = t26_4656.s146
If Len(t26_4656.s142) > 4 Then
t26_4656.s142 = Pad(t26_4656.s142, 4)
End If
10425 Sub4851
End Sub
'! Called 1 time
Sub Sub10434
i5209 = Rnd * 100 Mod 100 + 1
If i5209 >= 0 And i5209 <= 10 Then
Sub8598
Else
10504 If i5209 >= 11 And i5209 <= 20 Then
i5215 = 1
s5211 = "Nada, Nothing, Zilch, Zero!"
i5192 = 11
i5194 = 24
Else
10566 If i5209 >= 21 And i5209 <= 30 Then
Sub9240
Else
10604 If i5209 >= 31 And i5209 <= 40 Then
Sub9887
Else
10642 If i5209 >= 41 And i5209 <= 50 Then
i5215 = 1
s5211 = "Not a dang thing!"
i5192 = 11
i5194 = 28
Else
10704 If i5209 >= 51 And i5209 <= 60 Then
Sub5596
Else
10742 If i5209 >= 61 And i5209 <= 70 Then
Sub9240
Else
10780 If i5209 >= 71 And i5209 <= 80 Then
Sub7130
Else
10818 If i5209 >= 81 And i5209 <= 90 Then
Sub9240
Else
10856 If i5209 >= 91 And i5209 <= 100 Then
Sub9887
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
10888
End Sub
'! Called 1 time
Sub Sub10891
Dim l65504 As Long
Dim i65508 As Integer
Dim i65510 As Integer
Dim l65512 As Long
Dim s65516 As String
Dim s65520 As String
Dim s65524 As String
Dim s65528 As String
Dim s65532 As String
Cls
MorePrompt(0)
s65532 = s5293
10942 For i65510 = 1 To Len(s65532) Step 1
s65528 = Mid(s65532, i65510, 1)
If s65528 = "/" Then
Else
11033 s65524 = s65524 + s65528
End If
11047 Next
11070 l65512 = Val(s65524)
If Exists(s4463 + "BETA.KEY") Then
Open s4463 + "BETA.KEY" For Random As 1 Len = 44 '! This value should probably be replaced with a "SizeOf" expression
Else
11134 Print " BETA KEY Missing......Aborting Game.....Contact Mark Bappe"
Print " at (770)922-9638 (BBS) or (770)922-4368 (Voice)"
WaitEnter
End
End If
11156 Get 1, 1, t29_5243 '! 44 bytes
If l65512 > t29_5243.l40 Then
Print "@0C@ BETA KEY HAS EXPIRED!!!!!....Aborting Program!!!!!!"
Close 1
WaitEnter
End
Else
11214 s65520 = Str(l65512)
s65516 = Str(t29_5243.l40)
If Val(Mid(s65520, Len(s65520) - 1, 2)) > Val(Mid(s65516, Len(s65516) - 1, 2)) Then
Print "@0C@ BETA KEY HAS EXPIRED!!!!!....Aborting Program!!!!!!!"
Close 1
WaitEnter
End
Else
11320 s65532 = "The BoZax Bulletin (770)922-9638"
If t29_5243.s0 <> Pad(s65532, 40) Then
Print "@0C@ BETA KEY IS CORRUPT, OR HAS BEEN TAMPERED WITH....ABORTING!"
Close 1
WaitEnter
End
End If
End If
End If
11370 Close 1
End Sub
'! Called 1 time
Sub Sub11398
Dim s65528 As String
Dim s65532 As String
If Exists(s4463 + "lachex" + s5301 + ".dat") Then
i4654 = FreeFile
Open s4463 + "lachex" + s5301 + ".dat" For Input As i4654
Input #i4654, s65532
Close i4654
s65528 = Left(s65532, 15)
If UCase(s65528) = UCase(t26_4656.s0) Then
GoTo 11680
Else
11557 GoTo 11569
End If
11563 Else
11569 Cls
MorePrompt(0)
Locate 3, 12
Print "@84@ERROR!! ERROR!! ERROR!! ERROR!! ERROR!! ERROR!! ERROR!!"
Locate 5, 12
Print "@09@This Program can only be run from a REGISTERED COPY"
Locate 6, 12
Print "of Lachrymator. This program cannot be run on it own...."
Locate 7, 12
Print "@09@According to internal file verification routines..."
Locate 8, 12
Print "@09@The installed copy of Lachrymator is NOT REGISTERED!"
Locate 9, 12
Print "@09@PLEASE ask your SysOp to Register Lachrymator..Thanks!"
End If
11673 Sub4269
End
11680
End Sub